package routers

import (
	beego "github.com/beego/beego/v2/server/web"
	"yklx2/controllers"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	beego.Router("/userAdd", &controllers.WWW{}, "post:UserAdd")
	beego.Router("/roldQuangxbAdd", &controllers.WWW{}, "post:RoldQuangxbAdd")
	beego.Router("/userRoldgxbList", &controllers.WWW{}, "post:UserRoldgxbList")
	beego.Router("/roldQuangxbList", &controllers.WWW{}, "post:RoldQuangxbList")
	beego.Router("/companAdd", &controllers.WWW{}, "post:CompanAdd")
	beego.Router("/ordersAdd", &controllers.WWW{}, "post:OrdersAdd")
	beego.Router("/ordersList", &controllers.WWW{}, "post:OrdersList")
	beego.Router("/orderDetail", &controllers.WWW{}, "post:OrderDetail")

}
